﻿--[[
   @brief    main top --将网吧版本的特性也写入到此lua类中
   @author   rudolfzhang
   @version  1.0
   @date     2015-03-23
--]]

main_menue_model = {
    webgame_browser_running_games = {};
    EXIT_TYPE_NOR = 0;
    EXIT_TYPE_SWITCH_USER = 1;

    is_webgame_browser_running = function()
        local cnt = 0;
        for k,v in pairs(main_menue_model.webgame_browser_running_games) do
            if k ~= nil and v ~= nil then
                 cnt = cnt + 1;
            end;
        end
        return (cnt > 0);
    end;
}
